package com.yilin.platform.service.order;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yilin.platform.base_core.application.PageData;
import com.yilin.platform.entity.order.LineOrder;
import com.yilin.platform.entity.user.Account;

public interface ILineOrderService extends IService<LineOrder> {

    void saveOrUpdateTineOrder(Account account, LineOrder lineOrder);


    //获取分页
    PageData<LineOrder> getLineOrderPage(Account loginUser, LineOrder query, Integer start, Integer limit);

    //根据ID获取
    LineOrder getLineOrderById(String id);

    LineOrder getLineOrderByName(String name);

    //删除
    void deleteLineOrder(String id);
}
